﻿using Nop.Core.Domain.Directory;
using System;
using System.Collections.Generic;

namespace Nop.Services.Directory
{
    public interface IHolidayService
    {
        void DeleteHoliday(Holiday holiday);
        IList<Holiday> GetAllHolidays();
        Holiday GetHolidayById(int holidayId);
        Holiday GetHolidayByDate(DateTime date);
        void InsertHoliday(Holiday holiday);
        void UpdateHoliday(Holiday holiday);
        bool IsHoliday(DateTime date, int? stateProvinceId = null);
        List<DateTime> GetDatesById(int holidayId);
        void DeleteDateById(int id);
    }
}
